//
//  ShapeVC.m
//  CoreAnimation
//
//  Created by LG on 2018/5/18.
//  Copyright © 2018年 iqiyi. All rights reserved.
//

#import "ShapeVC.h"
#import "ProgressView.h"
#import "CoordinateView.h"

@interface ShapeVC ()

@property (nonatomic, strong) ProgressView *progressView;

@end

@implementation ShapeVC

- (void)viewDidLoad {
    [super viewDidLoad];
//    ProgressView *proView = [[ProgressView alloc]init];
//    proView.frame = CGRectMake(100, 100, 50, 50);
//    [self.view addSubview:proView];
//    self.progressView = proView;
    
    CoordinateView *view = [[CoordinateView alloc]init];
    view.frame = CGRectMake(100, 100, 50, 50);
    [self.view addSubview:view];
}

- (IBAction)slideAction:(UISlider *)sender {
    [self.progressView updateProgress:sender.value];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
